<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <!-- //uri数值可以在Libraries包下的Maven Dependencies下的jstl jar包下的META-INF下找到需要使用的标签打开复制uri标签的内容 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>列表</title>
</head>
<body>
<table>
		<tr>
		<c:forEach items="${list }" var="item">
			<td>
					<div>
						<img style="width:220px;height:220px" src="${pageContext.request.contextPath }/${item.img }" /><br/>
						  名称：${item.name}<br/>
						介绍：${item.introduction }<br/>
						 价格：${item.price }元
					</div>
				</td>
		
		</c:forEach>
		
				
		</tr>
	</table>
</body>
</html>